<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<meta name="renderer" content="webkit">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title></title>
<meta name="keywords" content="" />
<meta name="description" content="" />
<link rel="stylesheet" type="text/css" href="__PUBLIC__/css/bootstrap.css">
<link href="__PUBLIC__/css/list_food.css"  rel="stylesheet"/>
<link rel="stylesheet" type="text/css" href="__PUBLIC__/fq_8101.css">
<script src="__PUBLIC__/js/jquery.min.js" type="text/javascript" charset="utf-8"></script>
<script src="__PUBLIC__/js/addHospital.js" type="text/javascript" charset="utf-8"></script>
<!--<script type="text/javascript" src="https://www.snsnb.com/statics/js/list_food_login.js"></script>
<script src="https://www.snsnb.com/statics/js/list_food.js" type="text/javascript" charset="utf-8"></script>
-->
<script>
        var getCityListUrl = '{:U("index/getCityByProId")}';
        var getHosProListUrl ='{:U("index/getHospitalByCityId")}';
        var getHosListUrl  ='{:U("index/getHospitalByProId")}';
</script>
</head>
<body  data-spy="scroll" data-target="#myScrollspy">
  <div class="allnavbarWrap">
    <div id="allAllnavbar" class="fixpng">
      <div id="allnavbar" class="cl"> <span><a  href="https://www.snsnb.com/">生男生女帮</a></span>
        <ul class="allmenu">
          <li class="hovernav"><a  href="https://www.snsnb.com/baike/">精选</a>
            <div class="hidenav">
              <a href="https://www.snsnb.com/shengnanshengnvqinggongtu/" title="2015生男生女清宫图表">生男生女清宫图</a>
              <a href="https://www.snsnb.com/shengerzi/" title="生儿子的方法">怎么样才能生儿子</a>
              <a href="https://www.snsnb.com/shiguandaiyun/">试管婴儿</a>
              <a href="https://www.snsnb.com/taierxingbie/" title="b超数据看胎儿性别">胎儿预测</a>
              <a href="https://www.snsnb.com/shengnanhaidemijue/">生男孩的秘诀</a>
              <a href="https://www.snsnb.com/buyunbuyu/">不孕不育</a>
              <a href="https://www.snsnb.com/shengnanshengnv/">生男生女早知道</a>
              <a href="https://www.snsnb.com/shengnanshengnv/shengnvhai/">生女孩的科学方法</a>
            </div>
          </li>
          <li class="hovernav"><a href="https://www.snsnb.com/ask/">问答</a>
            <div class="hidenav"> <a href="https://www.snsnb.com/ask/c-3.html">生男生女</a> <a href="https://www.snsnb.com/ask/c-2.html">试管婴儿</a> <a href="https://www.snsnb.com/ask/c-5.html">人工授精</a> <a href="https://www.snsnb.com/ask/c-4.html">不孕不育</a> </div>
          </li>
          <li class="hovernav"><a href="https://www.snsnb.com/bbs/">论坛</a>
            <div class="hidenav"> <a href="https://www.snsnb.com/bbs/forum-47-1.html">谈天说地</a> <a href="https://www.snsnb.com/bbs/forum-75-1.html">生男生女</a> <a href="https://www.snsnb.com/bbs/forum-2-1.html">试管婴儿</a> </div>
          </li>
          <script src="https://www.snsnb.com/statics/js/snsnb_download.js" type="text/javascript"></script>
        </ul>
        <div class="loginmenu" id="loginmenu">
          <div id="user_info" class="login_p_b_a" style="display:none">
            <li class="hovernav"> <a href="" id="loginbox_user_name">名字</a>
              <div class="hidenav" style="display: none;"> <a href="https://www.snsnb.com/bbs/home.php" rel="nofollow">个人中心</a> <a href="" id="login_box_my_space">我的空间</a> <a href="https://www.snsnb.com/bbs/home.php?mod=spacecp" rel="nofollow">设置</a> <a href="" id="loginbox_logout">退出</a> </div>
            <a href="" id="loginbox_user_head">头像</a> </li>
          </div>
          <ul class="allmenu login_p_b_a" style="display:none">
            <li class="hovernav"> <a  href="https://www.snsnb.com/bbs/home.php?mod=space&do=pm" rel="nofollow">消息</a> <span id='mess_count' class="zg-noti-number"  style="display:none"></span>
              <div class="hidenav" id="mess_box"> </div>
            </li>
          </ul>
        <a class="nologin" style="display:none" href="">登陆</a><a class="nologin" style="display:none" href="">注册</a> </div>
        <link rel="stylesheet" type="text/css" href="https://www.snsnb.com/statics/css/pagehd.css" />
      </div>
    </div>
  </div>
  <div id="warper">
    <div id="header">
      <div class="crumbs clear">
        <div class="snslogo clear"> <a href="https://www.snsnb.com/"><img src="https://www.snsnb.com/statics/images/globallogo.png"/></a>
        </div>
        <div class="search">
          <div class="searchIn">
            <div class="search_bar">
              <form id="search_form" method="get" autocomplete="off" action="https://search.snsnb.com/cse/search" target="_blank">
                <input type="hidden" name="s" value="9534069049350040231">
                <input type="hidden" name="ie" value="utf-8">
                <input type="text" name="q" id="search_txt" placeholder="请输入搜索内容" autocomplete="off" x-webkit-speech speech />
                <input name="" type="submit" class="submit" value="">
              </form>
            </div>
          </div>
          <div class="key_word"><a href="https://www.snsnb.com/shengnanshengnv/" title="生男生女清宫图表" target="_blank">清宫图</a> <a href="https://www.snsnb.com/shengnanshengnv/" title="生男生女早知道" target="_blank">生男生女</a> <a href="https://www.snsnb.com/taierxingbie/" title="b超数据看胎儿性别" target="_blank">胎儿性别</a></div>
        </div>
      </div>
    </div>
  </div>
  <div class="haha">
    <div class="container">
      <div class="row hahd">
        <h2 class="text-center">医院信息提交</h2>
        <div class="col-sm-12">
          <div class="hahc">
            <div class="row hahe">
              <div class="col-sm-12">
                <form class="form-horizontal" method="post" action="{:U('addHospitalForm')}" enctype="multipart/form-data">
                  <div class="form-group">
                    <label class="col-sm-3 control-label">医院名称：</label>
                    <div class="col-sm-5">
                      <input type="text" name="hos_name" class="form-control" placeholder="请填入医院名称">
                    </div>
                  </div>
                  <div class="form-group">
                    <label class="col-sm-3 control-label">医院简介：</label>
                    <div class="col-sm-5">
                      <input type="text" name="hos_introduction" class="form-control" placeholder="请填入医院名称">
                    </div>
                  </div>

                  <div class="form-group">
                    <label class="col-sm-3 control-label">医院电话1：</label>
                    <div class="col-sm-5">
                      <input onkeyup="value=value.replace(/[^1234567890-]+/g,'')" name="hos_tel_1" class="form-control" placeholder="请输入医院电话">
                    </div>
                  </div>
                  <!-- 新增电话 -->
                  <div class="form-group">
                    <label class="col-sm-3 control-label">医院电话2：</label>
                    <div class="col-sm-5">
                      <input onkeyup="value=value.replace(/[^1234567890-]+/g,'')" name="hos_tel_2" class="form-control" placeholder="请输入医院电话">
                    </div>
                  </div>
                  <!-- 新增医生 -->
                  <div class="form-group">
                    <label class="col-sm-3 control-label">医生信息：</label>
                    <div class="col-sm-5">
                      <input type="text" name="hos_docter" class="form-control" placeholder="请输入医生信息">
                    </div>
                  </div>
                  <div class="form-group">
                    <label class="col-sm-3 control-label">医院地址：</label>
                    <div class="col-sm-5">
                      <input type="text" name="hos_detailed_address" class="form-control" placeholder="请输入医院详细地址">
                    </div>
                  </div>
                  <div class="form-group">
                    <label class="col-sm-3 control-label">医院排序：</label>
                    <div class="col-sm-5">
                      <input type="text" name="hos_sort" class="form-control" placeholder="请输入医院排序" value="1">
                    </div>
                  </div>
                  <div class="form-group">
                    <label class="col-sm-3 control-label ">医院省市： </label>
                    <div class="col-sm-2">
                      <select class="form-control"  name="province" id="province">
                        <foreach name="provinceList" item="provinceList">
                        <option value="{$provinceList.pro_id}">{$provinceList.pro_name}</option>
                        </foreach>
                      </select>
                    </div>
                    <div class="col-sm-2">
                      <select class="form-control"  name="city" id="city">
                        <foreach name="cityList" item="cityList">
                        <option value="{$cityList.city_id}">{$cityList.city_name}</option>
                        </foreach>
                      </select>
                    </div>
                  </div>
                  <div class="form-group">
                    <label class="col-sm-3 control-label ">医院等级： </label>
                    <div class="col-sm-2">
                      <select class="form-control"  name="level">
                        <foreach name="levelList" item="levelList">
                        <option value="{$levelList.lev_id}">{$levelList.lev_name}</option>
                        </foreach>
                      </select>
                    </div>
                  </div>
                  <div class="form-group">
                    <label class="col-sm-3 control-label">怎么走：</label>
                    <div class="col-sm-7">
                      <textarea class="form-control" name="hos_route" placeholder="怎么走" rows="4"></textarea>
                    </div>
                  </div>
                  <div class="form-group">
                    <label class="col-sm-3 control-label">医院介绍：</label>
                    <div class="col-sm-7">
                      <textarea name="hos_description" class="form-control" placeholder="医院简介" rows="7"></textarea>
                    </div>
                  </div>
                  <div class="form-group">
                    <label class="col-sm-3 control-label">医院封面：</label>
                    <div class="col-sm-7">
                      <input type="file" name="hos_image" id="">
                      <p class="help-block">选择医院图片</p>
                    </div>
                  </div>
                  <div class="col-sm-4 col-sm-offset-3">
                    <button class="btn btn-success btn-block" type="submit" id="addHospitalButton">提交信息</button>
                  </div>
                </form>
              </div>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
  <!-- 百科改版 201503 end -->
  <div id="new_footer">
    <div class="new_footer">
      <div class="companyLinks"> <a href="https://www.snsnb.com/aboutus/201518-30913.html" rel="nofollow">联系我们</a> | <a href="https://www.snsnb.com/aboutus/201518-30912.html" rel="nofollow">招贤纳士</a> | <a href="https://www.snsnb.com/aboutus/201518-30911.html" rel="nofollow">法律声明</a> | <a href="https://www.snsnb.com/aboutus/201518-30910.html" rel="nofollow">服务条款</a> | <a href="https://www.snsnb.com/aboutus/201518-30909.html" rel="nofollow">关于我们</a><a target="_blank" style=" position:absolute; margin-left:100px; margin-top:5px;" href="https://www.anquan.org/authenticate/cert/?site=www.snsnb.com&amp;at=business" rel="nofollow"><img alt="安全联盟认证" style="border: medium none;" src="https://www.snsnb.com/statics/images/hy_83x30.png" height="30" width="83"></a>
        <p></p>
      </div>
      <p class="bCopyright"> 版权所有 @生男生女帮 <a href="https://www.miibeian.gov.cn/" rel="nofollow">鄂ICP备15005026号</a>
      <a href="https://m.snsnb.com/bbs/thread-27666-1-1.html" target="_blank">意见反馈</a><div style="display:none"><script src="https://s4.cnzz.com/stat.php?id=4798110&web_id=4798110" language="JavaScript"></script></div>
      </p>
      <p style="text-align: center;">未经授权禁止转载、摘编、复制或建立镜像，如有违反，追究法律责任。</p>
    </div>
  </div>
  <a style="overflow: hidden;" id="gotopbtn">top</a>
  <style type="text/css">
        .new_footer {float: left;width: 100%;  background: #fcfcfc; border-top: 1px solid #ccc; padding-top: 20px; padding-bottom: 10px; }
      #new_footer { padding: 15px 0px 25px; margin: 0px auto; color: #4B4B4B; text-align: center; font: 12px/22px tahoma, arial, 宋体, sans-serif;}
        a#gotopbtn { text-transform:uppercase; height:50px; width:50px; line-height:50px; text-align:center;background-color: #78C6AF; position:fixed; display:block; bottom:20px; right:100px; color:#fff; font-size:16px; font-weight:bold; font-family:"Microsoft Yahei";background-position:left top, left top; background-repeat:repeat, repeat;  display:none ;_position:absolute;}
      a#gotopbtn:hover { background-color:#FA7D5F; color:#fff; background-position:left top; background-repeat:repeat; cursor:pointer; text-decoration:none; }
      .hidden { display:none; }
  </style>
  <script>
      var backTop = function(btnId){
          var btn = document.getElementById(btnId);
          var d = document.documentElement || document.body;
          window.onscroll = set;
          btn.onclick = function () {
              btn.style.display = "none";
              window.onscroll = null;
              this.timer = setInterval(function () {
  //console.log(document.body.scrollTop)
  //console.log(document.documentElement.scrollTop)
                  if( document.body.scrollTop ){
                      document.body.scrollTop -= Math.ceil(document.body.scrollTop * 0.1);
                  }else{
                      document.documentElement.scrollTop -= Math.ceil(document.documentElement.scrollTop * 0.1);
                  }
                  if (document.body.scrollTop == 1) clearInterval(btn.timer), window.onscroll = set, document.body.scrollTop = 0;
                  if (document.documentElement.scrollTop == 1) clearInterval(btn.timer), window.onscroll = set, document.documentElement.scrollTop = 0;
              }, 10);
          };
          function set() { btn.style.display = (document.documentElement.scrollTop || document.body.scrollTop) ? 'block' : "none" }
      };
      backTop('gotopbtn');
  </script>
</body>
</html>